﻿@{
    Layout = "../Layouts/_AdminDialog.cshtml";
    string viewName = ViewBag.ViewName ?? "Table";
}
@using (Html.BeginForm(null, null, FormMethod.Post, new { id = "edit-form", name = "edit-form" }))
{
    @Html.EditorForModel(viewName)
    <input type="submit" style="display: none" />
}